home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 August (Alt) / CHIP 2005-08.1.iso / program / code / Firefox_1.0.5.exe / browser.xpi / bin / defaults / pref / firefox.js
Encoding:
Text File  |  2005-07-11  |  16.4 KB  |  321 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2.  
  3. /* ***** BEGIN LICENSE BLOCK *****
  4.  
  5.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  6.  
  7.  *
  8.  
  9.  * The contents of this file are subject to the Mozilla Public License Version
  10.  
  11.  * 1.1 (the "License"); you may not use this file except in compliance with
  12.  
  13.  * the License. You may obtain a copy of the License at
  14.  
  15.  * http://www.mozilla.org/MPL/
  16.  
  17.  *
  18.  
  19.  * Software distributed under the License is distributed on an "AS IS" basis,
  20.  
  21.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  22.  
  23.  * for the specific language governing rights and limitations under the
  24.  
  25.  * License.
  26.  
  27.  *
  28.  
  29.  * The Original Code is mozilla.org code.
  30.  
  31.  *
  32.  
  33.  * The Initial Developer of the Original Code is 
  34.  
  35.  * Netscape Communications Corporation.
  36.  
  37.  * Portions created by the Initial Developer are Copyright (C) 1998
  38.  
  39.  * the Initial Developer. All Rights Reserved.
  40.  
  41.  *
  42.  
  43.  * Contributor(s):
  44.  
  45.  *
  46.  
  47.  * Alternatively, the contents of this file may be used under the terms of
  48.  
  49.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  50.  
  51.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  52.  
  53.  * in which case the provisions of the GPL or the LGPL are applicable instead
  54.  
  55.  * of those above. If you wish to allow use of your version of this file only
  56.  
  57.  * under the terms of either the GPL or the LGPL, and not to allow others to
  58.  
  59.  * use your version of this file under the terms of the MPL, indicate your
  60.  
  61.  * decision by deleting the provisions above and replace them with the notice
  62.  
  63.  * and other provisions required by the GPL or the LGPL. If you do not delete
  64.  
  65.  * the provisions above, a recipient may use your version of this file under
  66.  
  67.  * the terms of any one of the MPL, the GPL or the LGPL.
  68.  
  69.  *
  70.  
  71.  * ***** END LICENSE BLOCK ***** */
  72.  
  73.  
  74.  
  75. // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
  76.  
  77. //  The first character after a period must be alphabetic.
  78.  
  79.  
  80.  
  81. // pref("startup.homepage_override_url","chrome://browser-region/locale/region.properties");
  82.  
  83. pref("general.startup.browser", true);
  84.  
  85.  
  86.  
  87. pref("browser.chromeURL","chrome://browser/content/");
  88.  
  89. pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
  90.  
  91. pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
  92.  
  93. pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul?type=themes");
  94.  
  95. pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul?type=extensions");
  96.  
  97. pref("xpinstall.dialog.progress.type.skin", "Extension:Manager-themes");
  98.  
  99. pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager-extensions");
  100.  
  101.  
  102.  
  103. // This is this application's unique identifier used by the Extension System to identify
  104.  
  105. // this application as an extension target, and by the SmartUpdate system to identify
  106.  
  107. // this application to the Update server.
  108.  
  109. pref("app.id", "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}");
  110.  
  111. pref("app.version", 
  112.  
  113. "1.0.5"
  114.  
  115. );
  116.  
  117. pref("app.extensions.version", "1.0");
  118.  
  119. pref("app.build_id", 
  120.  
  121. "2005071118"
  122.  
  123. );
  124.  
  125.  
  126.  
  127. // App-specific update preferences
  128.  
  129. pref("app.update.enabled", true);               // Whether or not app updates are enabled
  130.  
  131. pref("app.update.autoUpdateEnabled", true);     // Whether or not background app updates 
  132.  
  133.                                                 // are enabled
  134.  
  135. pref("app.update.url", "chrome://mozapps/locale/update/update.properties");
  136.  
  137. pref("app.update.updatesAvailable", false);
  138.  
  139. pref("app.update.interval", 86400000);          // Check for updates to Firefox every day
  140.  
  141. pref("app.update.lastUpdateDate", 0);           // UTC offset when last App update was 
  142.  
  143.                                                 // performed. 
  144.  
  145. pref("app.update.performed", false);            // Whether or not an update has been 
  146.  
  147.                                                 // performed this session. 
  148.  
  149.  
  150.  
  151. // Symmetric (can be overridden by individual extensions) update preferences.
  152.  
  153. // e.g.
  154.  
  155. //  extensions.{GUID}.update.enabled
  156.  
  157. //  extensions.{GUID}.update.url
  158.  
  159. //  extensions.{GUID}.update.interval
  160.  
  161. //  .. etc ..
  162.  
  163. //
  164.  
  165. pref("extensions.update.enabled", true);
  166.  
  167. pref("extensions.update.autoUpdateEnabled", true);
  168.  
  169. pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
  170.  
  171. pref("extensions.update.autoUpdate", false);    // Automatically download and install 
  172.  
  173.                                                 // updates to themes and extensions. 
  174.  
  175.                                                 // Does nothing at present. 
  176.  
  177. pref("extensions.update.interval", 604800000);  // Check for updates to Extensions and 
  178.  
  179.                                                 // Themes every week
  180.  
  181. pref("extensions.update.lastUpdateDate", 0);    // UTC offset when last Extension/Theme 
  182.  
  183.                                                 // update was performed. 
  184.  
  185. // Non-symmetric (not shared by extensions) extension-specific [update] preferences
  186.  
  187. pref("extensions.getMoreExtensionsURL", "chrome://mozapps/locale/extensions/extensions.properties");
  188.  
  189. pref("extensions.getMoreThemesURL", "chrome://mozapps/locale/extensions/extensions.properties");
  190.  
  191. pref("extensions.update.severity.threshold", 5);// The number of pending Extension/Theme
  192.  
  193.                                                 // updates you can have before the update
  194.  
  195.                                                 // notifier goes from low->medium severity.
  196.  
  197. pref("extensions.update.count", 0);             // The number of extension/theme/etc 
  198.  
  199.                                                 // updates available
  200.  
  201. pref("extensions.dss.enabled", false);          // Dynamic Skin Switching                                               
  202.  
  203. pref("extensions.dss.switchPending", false);    // Non-dynamic switch pending after next
  204.  
  205.                                                 // restart.
  206.  
  207.  
  208.  
  209. // General Update preferences
  210.  
  211. pref("update.interval", 3600000);               // Check each of the above intervals 
  212.  
  213.                                                 // every 60 mins
  214.  
  215. pref("update.showSlidingNotification", true);   // Windows-only slide-up taskbar 
  216.  
  217.                                                 // notification.
  218.  
  219. // These prefs relate to the number and severity of updates available. This is a 
  220.  
  221. // cache that the browser notification mechanism uses to determine if it should show
  222.  
  223. // status bar UI if updates are detected and the app is shut down before installing
  224.  
  225. // them.
  226.  
  227. // 0 = low    (extension/theme updates), 
  228.  
  229. // 1 = medium (numerous extension/theme updates), 
  230.  
  231. // 2 = high   (new version of Firefox/Security patch)
  232.  
  233. pref("update.severity", 0); 
  234.  
  235.  
  236.  
  237. pref("xpinstall.whitelist.add", "update.mozilla.org");
  238.  
  239. pref("xpinstall.whitelist.add.103", "addons.mozilla.org");
  240.  
  241.  
  242.  
  243. pref("keyword.enabled", true);
  244.  
  245. pref("keyword.URL", "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=");
  246.  
  247.  
  248.  
  249. pref("general.skins.selectedSkin", "classic/1.0");
  250.  
  251. pref("general.useragent.vendor", "Firefox");
  252.  
  253. pref("general.useragent.vendorSub", 
  254.  
  255. "1.0.5"
  256.  
  257. );
  258.  
  259.  
  260.  
  261. pref("general.smoothScroll", false);
  262.  
  263. pref("general.autoScroll", true);
  264.  
  265.  
  266.  
  267. // Whether or not the application should check at startup each time if it 
  268.  
  269. // is the default browser.
  270.  
  271. pref("browser.shell.checkDefaultBrowser", true);
  272.  
  273.  
  274.  
  275. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last
  276.  
  277. // XXXBlake Remove this stupid pref
  278.  
  279. pref("browser.startup.page",                1);
  280.  
  281. pref("browser.startup.homepage",              "resource:/browserconfig.properties");
  282.  
  283.  
  284.  
  285. // These values are deliberately non-localizable for official builds.
  286.  
  287. pref("browser.startup.homepage_reset",      "resource:/browserconfig.properties");
  288.  
  289. pref("browser.update.resetHomepage",        false);
  290.  
  291. // "browser.startup.homepage_override" was for 4.x
  292.  
  293. pref("browser.startup.homepage_override.1", false);
  294.  
  295.  
  296.  
  297. pref("browser.cache.disk.capacity",         50000);
  298.  
  299. pref("browser.enable_automatic_image_resizing", true);
  300.  
  301. pref("browser.urlbar.matchOnlyTyped", false);
  302.  
  303. pref("browser.chrome.site_icons", true);
  304.  
  305. pref("browser.chrome.favicons", true);
  306.  
  307. pref("browser.turbo.enabled", false);
  308.  
  309. pref("browser.formfill.enable", true);
  310.  
  311.  
  312.  
  313. pref("browser.download.useDownloadDir", true);
  314.  
  315. pref("browser.download.folderList", 0);
  316.  
  317. pref("browser.download.manager.showAlertOnComplete", true);
  318.  
  319. pref("browser.download.manager.showAlertInterval", 2000);
  320.  
  321. pref("browser.download.manager.retention", 2);
  322.  
  323. pref("browser.download.manager.showWhenStarting", true);
  324.  
  325. pref("browser.download.manager.useWindow", true);
  326.  
  327. pref("browser.download.manager.closeWhenDone", false);
  328.  
  329. pref("browser.download.manager.openDelay", 0);
  330.  
  331. pref("browser.download.manager.focusWhenStarting", false);
  332.  
  333. pref("browser.download.manager.flashCount", 2);
  334.  
  335.  
  336.  
  337. // pointer to the default engine name
  338.  
  339. pref("browser.search.defaultenginename",      "chrome://browser-region/locale/region.properties");
  340.  
  341. // pointer to the Web Search url (content area context menu)
  342.  
  343. pref("browser.search.defaulturl",             "chrome://browser-region/locale/region.properties");
  344.  
  345. // Ordering of Search Engines in the Engine list. 
  346.  
  347. pref("browser.search.order.1",                "chrome://browser-region/locale/region.properties");
  348.  
  349. pref("browser.search.order.2",                "chrome://browser-region/locale/region.properties");
  350.  
  351.  
  352.  
  353. pref("browser.search.param.Google.1.default", "chrome://browser/content/searchconfig.properties");
  354.  
  355. pref("browser.search.param.Google.1.custom",  "chrome://browser/content/searchconfig.properties");
  356.  
  357. pref("browser.search.order.Yahoo.1",          "chrome://browser/content/searchconfig.properties");
  358.  
  359. pref("browser.search.order.Yahoo.2",          "chrome://browser/content/searchconfig.properties");
  360.  
  361. pref("browser.search.order.Yahoo",            "chrome://browser/content/searchconfig.properties");
  362.  
  363.  
  364.  
  365. // basic search popup constraint: minimum sherlock plugin version displayed
  366.  
  367. // (note: must be a string representation of a float or it'll default to 0.0)
  368.  
  369. pref("browser.search.basic.min_ver", "0.0");
  370.  
  371.  
  372.  
  373. pref("browser.history.grouping", "day");
  374.  
  375. pref("browser.sessionhistory.max_entries", 50);
  376.  
  377.  
  378.  
  379. // Tab browser preferences.
  380.  
  381. pref("browser.tabs.loadInBackground", true);
  382.  
  383. pref("browser.tabs.loadFolderAndReplace", true);
  384.  
  385. pref("browser.tabs.opentabfor.middleclick", true);
  386.  
  387. pref("browser.tabs.opentabfor.urlbar", true);
  388.  
  389. pref("browser.tabs.loadDivertedInBackground", false);
  390.  
  391. pref("browser.tabs.loadBookmarksInBackground", false);
  392.  
  393. // XXXben - Hide Single Window mode prefs for 1.0 to avoid crashes (see 266759)
  394.  
  395. pref("browser.tabs.showSingleWindowModePrefs", false);
  396.  
  397.  
  398.  
  399. // Smart Browsing prefs
  400.  
  401. pref("browser.related.enabled", true);
  402.  
  403. pref("browser.related.autoload", 1);  // 0 = Always, 1 = After first use, 2 = Never
  404.  
  405. pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
  406.  
  407. pref("browser.related.disabledForDomains", "");
  408.  
  409. pref("browser.goBrowsing.enabled", true);
  410.  
  411.  
  412.  
  413. // Default bookmark sorting
  414.  
  415. pref("browser.bookmarks.sort.direction", "descending");
  416.  
  417. pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
  418.  
  419.  
  420.  
  421. // Scripts & Windows prefs
  422.  
  423. pref("dom.disable_open_during_load",              true);
  424.  
  425. pref("javascript.options.showInConsole",          false);
  426.  
  427. // Make the status bar reliably present and unaffected by pages
  428.  
  429. pref("dom.disable_window_open_feature.status",    true);
  430.  
  431. // This is the pref to control the location bar, change this to true to 
  432.  
  433. // force this instead of or in addition to the status bar - this makes 
  434.  
  435. // the origin of popup windows more obvious to avoid spoofing but we 
  436.  
  437. // cannot do it by default because it affects UE for web applications.
  438.  
  439. pref("dom.disable_window_open_feature.location",  false);
  440.  
  441. pref("dom.disable_window_status_change",          true);
  442.  
  443.  
  444.  
  445. pref("browser.trim_user_and_password",            true);
  446.  
  447.  
  448.  
  449. // popups.policy 1=allow,2=reject
  450.  
  451. pref("privacy.popups.policy",               1);
  452.  
  453. pref("privacy.popups.usecustom",            true);
  454.  
  455. pref("privacy.popups.firstTime",            true);
  456.  
  457. pref("privacy.popups.showBrowserMessage",   true);
  458.  
  459.  
  460.  
  461.  
  462.  
  463. pref("network.proxy.share_proxy_settings",  false); // use the same proxy settings for all protocols
  464.  
  465. pref("network.cookie.cookieBehavior",       0); // cookies enabled
  466.  
  467. pref("network.cookie.enableForCurrentSessionOnly", false);
  468.  
  469.  
  470.  
  471. // l12n and i18n
  472.  
  473. pref("intl.accept_languages", "chrome://global/locale/intl.properties");
  474.  
  475. // collationOption is only set on linux for japanese. see bug 18338 and 62015
  476.  
  477. // we need to check if this pref is still useful.
  478.  
  479. pref("intl.collationOption",  "chrome://global-platform/locale/intl.properties");
  480.  
  481. pref("intl.charsetmenu.browser.static", "chrome://global/locale/intl.properties");
  482.  
  483. pref("intl.charsetmenu.browser.more1",  "chrome://global/locale/intl.properties");
  484.  
  485. pref("intl.charsetmenu.browser.more2",  "chrome://global/locale/intl.properties");
  486.  
  487. pref("intl.charsetmenu.browser.more3",  "chrome://global/locale/intl.properties");
  488.  
  489. pref("intl.charsetmenu.browser.more4",  "chrome://global/locale/intl.properties");
  490.  
  491. pref("intl.charsetmenu.browser.more5",  "chrome://global/locale/intl.properties");
  492.  
  493. pref("intl.charsetmenu.browser.unicode",  "chrome://global/locale/intl.properties");
  494.  
  495. pref("intl.charset.detector", "chrome://global/locale/intl.properties");
  496.  
  497. pref("intl.charset.default",  "chrome://global-platform/locale/intl.properties");
  498.  
  499. pref("font.language.group", "chrome://global/locale/intl.properties");
  500.  
  501. pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
  502.  
  503.  
  504.  
  505. // 0=lines, 1=pages, 2=history , 3=text size
  506.  
  507. pref("mousewheel.withcontrolkey.action",3);
  508.  
  509. pref("mousewheel.withshiftkey.action",2);
  510.  
  511. pref("mousewheel.withaltkey.action",0);
  512.  
  513.  
  514.  
  515. pref("profile.allow_automigration", false);   // setting to false bypasses automigration in the profile code
  516.  
  517.  
  518.  
  519. // Customizable toolbar stuff
  520.  
  521. pref("custtoolbar.personal_toolbar_folder", "");
  522.  
  523. pref("browser.throbber.url","chrome://browser-region/locale/region.properties");
  524.  
  525.  
  526.  
  527. // pref to control the alert notification 
  528.  
  529. pref("alerts.slideIncrement", 1);
  530.  
  531. pref("alerts.slideIncrementTime", 10);
  532.  
  533. pref("alerts.totalOpenTime", 4000);
  534.  
  535. pref("alerts.height", 50);
  536.  
  537.  
  538.  
  539. // update notifications prefs
  540.  
  541. pref("update_notifications.enabled", true);
  542.  
  543. pref("update_notifications.provider.0.frequency", 7); // number of days
  544.  
  545. pref("update_notifications.provider.0.datasource", "chrome://browser-region/locale/region.properties");
  546.  
  547.  
  548.  
  549. pref("browser.xul.error_pages.enabled", false);
  550.  
  551.  
  552.  
  553. pref("signon.rememberSignons",              true);
  554.  
  555. pref("signon.expireMasterPassword",         false);
  556.  
  557. pref("signon.SignonFileName", "signons.txt");
  558.  
  559.  
  560.  
  561. // We want to make sure mail URLs are handled externally...
  562.  
  563. pref("network.protocol-handler.external.mailto", true); // for mail
  564.  
  565. pref("network.protocol-handler.external.news", true);   // for news
  566.  
  567. pref("network.protocol-handler.external.snews", true);  // for secure news
  568.  
  569. pref("network.protocol-handler.external.nntp", true);   // also news
  570.  
  571. // ...without warning dialogs
  572.  
  573. pref("network.protocol-handler.warn-external.mailto", false);
  574.  
  575. pref("network.protocol-handler.warn-external.news", false);
  576.  
  577. pref("network.protocol-handler.warn-external.snews", false);
  578.  
  579. pref("network.protocol-handler.warn-external.nntp", false);
  580.  
  581.  
  582.  
  583. // By default, all protocol handlers are exposed.  This means that
  584.  
  585. // the browser will respond to openURL commands for all URL types.
  586.  
  587. // It will also try to open link clicks inside the browser before
  588.  
  589. // failing over to the system handlers.
  590.  
  591. pref("network.protocol-handler.expose-all", true);
  592.  
  593. pref("network.protocol-handler.expose.mailto", false);
  594.  
  595. pref("network.protocol-handler.expose.news", false);
  596.  
  597. pref("network.protocol-handler.expose.snews", false);
  598.  
  599. pref("network.protocol-handler.expose.nntp", false);
  600.  
  601.  
  602.  
  603. // Default security warning dialogs to show once.
  604.  
  605. pref("security.warn_entering_secure.show_once", true);
  606.  
  607. pref("security.warn_entering_weak.show_once", true);
  608.  
  609. pref("security.warn_leaving_secure.show_once", true);
  610.  
  611. pref("security.warn_viewing_mixed.show_once", true);
  612.  
  613. pref("security.warn_submit_insecure.show_once", true);
  614.  
  615.  
  616.  
  617. pref("browser.urlbar.clickSelectsAll", true);
  618.  
  619.  
  620.  
  621. pref("accessibility.typeaheadfind", false);
  622.  
  623. pref("accessibility.typeaheadfind.timeout", 5000);
  624.  
  625. pref("accessibility.typeaheadfind.linksonly", false);
  626.  
  627. pref("accessibility.typeaheadfind.flashBar", 1);
  628.  
  629.  
  630.  
  631. // Disable the default plugin for firefox
  632.  
  633. pref("plugin.default_plugin_disabled", true);
  634.  
  635.  
  636.  
  637. // plugin finder service
  638.  
  639. pref("pfs.datasource.url", "chrome://mozapps/locale/plugins/plugins.properties");
  640.  
  641.